package com.ruoyi.train.mapper;

import com.ruoyi.train.domain.ExamApplication;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;



/**
 * 提交考试申请Mapper接口
 * 
 * @author wusihao
 * @date 2023-03-26
 */
@Mapper
public interface ExamApplicationMapper extends BaseMapper<ExamApplication>
{
    /**
     * 查询提交考试申请
     * 
     * @param id 提交考试申请主键
     * @return 提交考试申请
     */
    public ExamApplication selectExamApplicationById(Long id);

    /**
     * 查询提交考试申请列表
     * 
     * @param examApplication 提交考试申请
     * @return 提交考试申请集合
     */
    public List<ExamApplication> selectExamApplicationList(ExamApplication examApplication);

    /**
     * 新增提交考试申请
     * 
     * @param examApplication 提交考试申请
     * @return 结果
     */
    public int insertExamApplication(ExamApplication examApplication);

    /**
     * 修改提交考试申请
     * 
     * @param examApplication 提交考试申请
     * @return 结果
     */
    public int updateExamApplication(ExamApplication examApplication);

    /**
     * 删除提交考试申请
     * 
     * @param id 提交考试申请主键
     * @return 结果
     */
    public int deleteExamApplicationById(Long id);

    /**
     * 批量删除提交考试申请
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteExamApplicationByIds(Long[] ids);
}
